#include<stdio.h>
#include<math.h>
int main(){
    double r, n;
    scanf("%lf %lf",&r,&n);
    printf("%.2f",pow(1+r, n));
    return 0;
}